/**
 * LY.com Inc.
 * Copyright (c) 2004-2021 All Rights Reserved.
 */
package quorum;

/**
 * @author bixiao.wang
 * @version $Id: DataWrapper, v 0.1 2021/9/18 15:09 bixiao.wang Exp $
 */
public class DataWrapper {
    private Long version;
    private Data data;
    private Node node;

    public DataWrapper(Long version, Data data) {
        this.version = version;
        this.data = data;
    }

    public Long getVersion() {
        return version;
    }

    public void setVersion(Long version) {
        this.version = version;
    }

    public Data getData() {
        return data;
    }

    public void setData(Data data) {
        this.data = data;
    }

    public Node getNode() {
        return node;
    }

    public void setNode(Node node) {
        this.node = node;
    }
}
